package com.dq.repository.user;

import com.dq.domain.sys.user.user.base.SysUser;
import com.dq.domain.sys.user.UserHobby;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author liuhui
 * @date 2019/11/23 0023 15:20:31
 */
@Repository
public interface UserHobbyRepository extends JpaRepository<UserHobby,Long> {
    List<UserHobby> findBySysUser(SysUser sysUser);
}
